package com.dehui.traders.ui.buysell;

import android.content.Context;

import com.dehui.traders.bean.OptionalCode;
import com.dehui.traders.ui.optioanl.AddOptionalStockActivity;

import java.util.ArrayList;
import java.util.List;

import me.goldze.mvvmhabit.base.BaseViewModel;
import me.goldze.mvvmhabit.binding.command.BindingCommand;

/**
 * Created by hqq on 18.4.4.
 */

public class BuySellViewModel extends BaseViewModel{

    private List<OptionalCode> optionalCodes = new ArrayList<>();

    public BindingCommand searchOnClick = new BindingCommand(()->{
        startActivity(AddOptionalStockActivity.class);
    });

    public BuySellViewModel(Context context) {
        super(context);
        init();
    }

    private void init() {
    }


    public void refreshOptionData() {
        getOptionalCodeByPhone();
    }

    private void getOptionalCodeByPhone() {

    }



}
